**************************************************
* Module OSCNukeMS ver. 3.0 November 27 2003 *
**************************************************
===============
COMPATIBILITY:
===============

OSCNUKEMS 3.0 runs on PHP-Nuke version 6.5 TO 7.0 Alpha

===============
INTRODUCTION:
===============

This new version have been totally rewritten!
oscnukeMS 3.0 now uses the last version of osCommerce (Snapshot 2.2 MS2 of 12/07/2003).  

All the modules (payment, order total, shipping) and langages packages writen for osCommerce can be use with oscnukeMS 3.0 without any modification.

BEFORE RUNNING INSTALLATION PLEASE NOTE:Y
You must install or upgrade a compatible version of PHP-Nuke BEFORE installing this module (PHPNUKE 6.5 to 7 ALPHA).

===============
INSTALLATION:
===============


1. After download and unzip the .ZIP file, copy its files from your computer on to your server in the following directory tree, and begin from root directory of PHP-Nuke.

/admin/link/*.* ---------------------> admin/link/*.* 
/admin/modules/oscnuke/*.* ----------> admin/modules/oscnuke/*.*
/admin/modules/*.*-------------------> admin/modules/*.*
/blocks/*.* -------------------------> blocks/*.*
/images/admin/*.* -------------------> images/admin/*.*
/modules/catalog/*.* ----------------> modules/catalog/*.*



2. CHMOD THE FOLLOWING FILES AND DIRECTORIES:

a) directory /modules/catalog/images                               ---> CHMOD 777
b) directory /modules/catalog/download                             ---> CHMOD 777
C) directory /modules/catalog/pub                                  ---> CHMOD 777
d) directory /modules/catalog/temp				   ---> CHMOD 777
e) directory /modules/catalog/catalogues                           ---> CHMOD 777
f) directory /modules/catalog/admin/backup                         ---> CHMOD 777
g) directory /modules/catalog/includes/configure.php               ---> CHMOD 666
h) directory and all files /modules/catalog/includes/languages/*.* ---> CHMOD 777


3.Launch the install module by typing in your web browser:

http://www.yoursite.com/modules/catalog/install/install.php

and following the instructions. The autoinstaller will fill in all the feilds for you! You can just click through it all unless you wish to specify something.

4. In the mainfile.php under your nuke root directory
search this line:

******************************************
if ($forum_admin == 1) {
    require_once("../../../config.php");
    require_once("../../../db/db.php");
} elseif ($inside_mod == 1) {
    require_once("../../config.php");
    require_once("../../db/db.php");
} else {
    require_once("config.php");
    require_once("db/db.php");
    require_once("includes/sql_layer.php");
    $dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
}

*******************************************

REPLACE WITH THE FOLLOWING:
*******************************************
if ($forum_admin == 1) {
    require_once("../../../config.php");
    require_once("../../../db/db.php");
} elseif ($inside_mod == 1) {
    require_once("../../config.php");
    require_once("../../db/db.php");
    require_once("../../admin/modules/oscnuke/init.php");
} else {
    require_once("config.php");
    require_once("db/db.php");
   require_once("includes/sql_layer.php");
    $dbi = sql_connect($dbhost, $dbuname, $dbpass, $dbname);
    include_once("admin/modules/oscnuke/init.php");  
}
*******************************************

6. Delete the install directory in /modules/catalog

7. CHMOD THE FOLLOWING FILES AND DIRECTORIES:
   directory /modules/catalog/includes/configure.php               ---> CHMOD 644

8. In your PhpNuke Admin menu, go to Modules and Activate Catalog

9. Go into Blocks and add the blocks of your choice that start with OSC. 


Your Done.. ENJOY!

================
AddOn Notes
================

* Excel Import see the file:     html/Import excel instruction.doc
* PDF Catalogues see the file:   html/PDF Catalogue instruction.doc 

==================
FOR CUSTOMIZATION
==================
Please refer to documentation regarding OSCommerce 2.2 which can be found at http://www.oscommerce.com. 

If you have any problems about installation, configuration or new bugs, suggests and so on, 
go to the support forum!
http://www.phpnukeservices.com